package xcc.design.demo.stateMachine;

import java.util.Scanner;

/**
 * Description： TODO
 * Date： 2019/4/30 10:14
 *
 * @author changchun.xue
 */
public class MainTest {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        IPlayer player = new VedioPlayer();
        int i = -1;
        while ((i = sc.nextInt()) != -1) {
            player.request(i);
        }
    }
}
